package com.nervenets.shopping.service;

import com.nervenets.general.service.BaseService;
import com.nervenets.shopping.hibernate.domain.common.Address;

import java.util.List;

public interface AddressService extends BaseService<Address> {
    List<Address> findAllAddress(long userId);

    void updateOtherAddressDefToFalse(long userId, Address def);
}
